package org.dromara.quickswing.database;

import org.dromara.quickswing.database.sqlite.SqliteDbManager;
import org.dromara.quickswing.ui.app.QSPrefs;
/**
 * @author Jin
 */
public class QSDbManagerFactory {

    public static QSDbManagerFactory getInstance() {
        return new QSDbManagerFactory();
    }

    public QSDbManager getDatabaseManager(QSPrefs QSPrefs){
        QSDbManager QSDbManager = new SqliteDbManager();
        QSDbManager.initialize(QSPrefs);
        return QSDbManager;
    }

}
